
<%@ page import="feedbox.Administrador" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'administrador.label', default: 'Administrador')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    	<style type="text/css">
			.nav a {
				border: 1px solid gray;
				padding: 2px;
		}
			.nav a:hover {
				text-decoration: overline;
		}
</style>
    </head>
    <body>
        <div class="nav">
        <a href="../create">Cadastrar Administrador</a>
        <a href="../list">Administradores</a>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="administrador.nome.label" default="Nome" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: administradorInstance, field: "nome")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="administrador.email.label" default="Email" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: administradorInstance, field: "email")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="administrador.user.label" default="User" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: administradorInstance, field: "user")}</td>
                            
                        </tr>
                    
                        
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${administradorInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
